
.page-content {
    padding: 60px 0;
}

.red-tourism-carousel-section .carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.red-tourism-carousel-section .carousel-header h2 {
    font-size: 2.5rem;
    color: #c00;
    margin-bottom: 10px;
}

.red-tourism-carousel-section .carousel-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;

}

.carousel-slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    visibility: hidden;
    order: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    order: 0;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.carousel-caption h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.carousel-caption p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}


.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}


.carousel-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.4);
}


.navlist .list a.active {
    color: #007bc7;
    font-weight: bold;


}


@media (max-width: 768px) {
    .carousel-caption h3 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .carousel-control {
        font-size: 18px;
        padding: 8px 10px;
    }

    .carousel-dots {
        bottom: 10px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .red-tourism-carousel-section .carousel-header h2 {
        font-size: 2rem;
    }

    .red-tourism-carousel-section .carousel-header p {
        font-size: 1rem;
    }
}

